package com.atguigu.yygh.cmn.service;

import com.atguigu.yygh.cmn.mapper.DictMapper;
import com.atguigu.yygh.model.cmn.Dict;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author wans
 * @create 2021-11-15 20:56
 */
public interface DictService extends IService<Dict> {
    //根据数据id查询子数据列表
    List<Dict> findChlidData(Long id);
    //导出数据字典
    void exportData(HttpServletResponse response);
    //导入数据字典
    void importData(MultipartFile file);

    String getDictName(String dictCode, String value);
}
